package com.stormrage.entity.learn.rep;

import java.io.Serializable;

public class LeaStuSelectRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -3540029953738025993L;

	// ------------------------------- Fields -------------------------------

	private Integer stuId;

	private Integer count;

	// ------------------------------- Fields -------------------------------

	public LeaStuSelectRep() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getStuId() {
		return stuId;
	}

	public void setStuId(Integer stuId) {
		this.stuId = stuId;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	// ------------------------------- Fields -------------------------------

	public static LeaStuSelectRep instance(Integer stuId, Integer count) {
		LeaStuSelectRep entity = new LeaStuSelectRep();
		entity.setStuId(stuId);
		entity.setCount(count);
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : stuId - " + stuId + " count - " + count;
	}

}
